projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84f5f3
)
Fix leak in last cleanup.
author
Robert Lipe
<robertlipe@gpsbabel.org>
Tue, 31 Jul 2018 05:34:44 +0000
(
00:34
-0500)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Tue, 31 Jul 2018 05:34:44 +0000
(
00:34
-0500)
Mixing C pointers and sane pointers is killing me…
xcsv.cc
patch
|
blob
|
history
diff --git
a/xcsv.cc
b/xcsv.cc
index f617d72e1dbb1e4d4090760a2f6367b7155c58e8..b0f3d3024fba873f00a46439b98fc3b6bc27e196 100644
(file)
--- a/
xcsv.cc
+++ b/
xcsv.cc
@@
-300,6
+300,7
@@
xcsv_parse_style_line(QString line)
char* sp = csv_stringtrim(CSTR(tokenstr), "\"", 1);
QString cp = xcsv_get_char_from_constant_table(sp);
xcsv_file.badchars += cp;
+ xfree(sp);
} else
if (op =="PROLOGUE") {